import request from '@/utils/request'

// 查询园林养护任务日志列表
export function listMaintainDiary(query) {
  return request({
    url: '/comp/maintainDiary/list',
    method: 'get',
    params: query
  })
}
// 修改园林养护任务日志
export function updateMaintainDiary(data) {
  return request({
    url: '/comp/maintainDiary',
    method: 'put',
    data: data
  })
}

// 查询园林养护任务日志详细
export function getMaintainDiary(id) {
  return request({
    url: '/comp/maintainDiary/' + id,
    method: 'get'
  })
}